package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.dto.OrderMqDTO;
import cn.tedu.charging.order.pojo.po.ChargingFailPO;
import cn.tedu.charging.order.pojo.po.ChargingSuccessPO;

public interface OrderRepository {
    void updateOrderStatusFromProcess2Exception(OrderMqDTO orderMqDTO);

    ChargingSuccessPO getSuccessOrder(String orderNo);

    ChargingFailPO getFailOrder(String orderNo);

    void saveFailOrder(ChargingFailPO newChargingFailPO);

    void updateDeviceInfo(String orderNo, Integer gunId);
}
